import request from "../utils/request";


export function articleCreate(data){
    return request({
        url:'/article/create',
        method:'POST',
        contentType: 'application/json; charset=utf-8',
        data
    })
}

export function articleList(data){
    return request({
        url:'/article/list',
        method:'POST',
        contentType: 'application/json; charset=utf-8',
        data
    })
}

export function articleView(data){
    return request({
        url:'/article/view/'+data,
        method:'GET',
        contentType: 'application/json; charset=utf-8'
    })
}
